package cn.hahah.module.blog.controller.admin.usercomment.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.hahah.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.hahah.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户评论文章分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UserCommentPageReqVO extends PageParam {

    @Schema(description = "评论编号", example = "26077")
    private Long id;

    @Schema(description = "用户编号", example = "31517")
    private Long userId;

    @Schema(description = "文章编号", example = "26863")
    private Long articleId;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}